<%-- 
    Document   : index
    Created on : Dec 3, 2013, 9:42:29 PM
    Author     : Welcome
--%>

<%@page import="businesscard.entity.Quyen"%>
<%@page import="businesscard.DAO.QuyenDAO"%>
<%@page import="java.util.List"%>
<%@page import="businesscard.entity.User"%>
<%@page import="businesscard.DAO.UserDAO"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" href="css/style.css" type="text/css"/>
        <link rel="stylesheet" href="css/bocuc.css" type="text/css"/>
        <link rel="stylesheet" href="css/testcss.css" type="text/css"/>
        <link rel="stylesheet" href="css/mystyle.css" type="text/css"/>
        <link rel="stylesheet" href="css/botoncss.css" type="text/css"/>
        <script type="text/javascript" src="jquery/jquery-1.1.3.1.min.js"></script> 
        <script type="text/javascript" src="jquery/jquery-1.4.2.js"></script> 
        <script type="text/javascript" src="jquery/jquery-latest.js"></script>
        <script type="text/javascript" src="jquery/myjquery.js"></script>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

        <title>Admin</title>
    </head>
    <body>
        <div class="bodypage">
            <!phan dau cua trang>
            <div class="top">
                <%@include file='header.jsp'%>
            </div>
            <!phan search>
            <div class="khoangcachtrang">
                <div class="searchgroup">

                    <%@include file='searchuser.jsp' %> 
                    <div class="chontimkiem">
                        <a href="timkiemnangcao.jsp">Tìm Kiếm Nâng Cao</a>
                    </div>

                </div>
            </div>

            <!phan giua trang >
            <div class="centerpage">

                <div class="leftsite">
                    <div class="menuweb">
                        <%@include file='menuleft.jsp' %>
                    </div>
                </div>

                <div class="content">
                    <div class="khoangtrang"></div>

                    <div class="nvtemp">
                        <%
                            int idur = Integer.parseInt(request.getParameter("txtiduser"));
                            UserDAO urdao = new UserDAO();
                            User ur = urdao.getUserbyID(idur);

                            
                            ur.getQuyen();
                            ur.getQuanhuyen();


                        %>
                        <div><h3>CẬP NHẬT USER:<%= ur.getUser()%></h3></div>
                        <div class="thongtinur"><h3> Thông Tin Cá Nhân</h3>
                            <input type="hidden" name="txtiduser" value="<%= ur.getIdUser()%>" />                         
                            <div class="tenur">Chứng Minh Nhân Dân: <%= ur.getCmnd()%></div>
                            <div class="tenur">Email: <%= ur.getEmail()%></div>
                            <div class="tenur">Giới Tính: <%=ur.getGioitinh()%></div>
                            <div class="tenur">Ngày Sinh: <%= ur.getNgaysinh()%></div>
                            <div class="tenur">Số Điện Thoại: <%= ur.getSdt()%></div>
                            <div class="tenur">Điểm: <%= ur.getPoint()%></div>

                        </div>
                        <div class="hoatdongur"><h3> Bài Viết</h3></div>
                        <div class="hoatdongur"><h3> Liên Hệ Đã Thêm</h3></div>
                         <div class="hoatdongur"><h3>Hóa đơn</h3></div>
                    </div>
                    <div class="khoangtrang"></div>

                </div>


            </div>
            <!phan cuoi trang>
            <div class="footer">
                <div class="footerleft"></div>
                <div class="footerright"></div>
            </div>
        </div>
    </body>
</html>
